package com.xbstar.datafusion.util;

/**
 * Created by jiwenfei on 2018/2/1 10:31 .
 */

import com.alibaba.fastjson.JSONObject;

/***
 * {
 *     id:"wwswewewe",
 *     name:"dwwewew",
 *     key:"3232",
 *     fromTime:230230202323,
 *     state:232323242,//最近的时间
 *     curSendMsg:{
 *         sdsdd
 *     },
 *     curReceiveMsg:{
 *
 *     },
 *     ip:"192.168.1.151",
 *
 * }
 */

/***
 * 物-状态（物影子）
 */
public class ObjectDomain {
    private String id;
    private String name;
    private String key;
    private Long fromTime;
    private String state;
    private JSONObject curSendMsg;
    private  JSONObject curReceiveMsg;
    private String ip;
    private String description;
    private String other;

    public String getId() {
        return id;
    }

    public void setId( String id ) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName( String name ) {
        this.name = name;
    }

    public String getKey() {
        return key;
    }

    public void setKey( String key ) {
        this.key = key;
    }

    public Long getFromTime() {
        return fromTime;
    }

    public void setFromTime( Long fromTime ) {
        this.fromTime = fromTime;
    }

    public String getState() {
        return state;
    }

    public void setState( String state ) {
        this.state = state;
    }

    public JSONObject getCurSendMsg() {
        return curSendMsg;
    }

    public void setCurSendMsg( JSONObject curSendMsg ) {
        this.curSendMsg = curSendMsg;
    }

    public JSONObject getCurReceiveMsg() {
        return curReceiveMsg;
    }

    public void setCurReceiveMsg( JSONObject curReceiveMsg ) {
        this.curReceiveMsg = curReceiveMsg;
    }

    public String getIp() {
        return ip;
    }

    public void setIp( String ip ) {
        this.ip = ip;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription( String description ) {
        this.description = description;
    }

    public String getOther() {
        return other;
    }

    public void setOther( String other ) {
        this.other = other;
    }
}
